@extends('base')
@section('css')
    <link rel="stylesheet" type="text/css" href="{{'/css/core.css'}}">
@stop
@section('content')
<!------banner 结束------------>
<div class="mainBox">
    <div class="menuBox menuBox_1">
        <div class="menuRight">
            <div class="subNav">
                <a href="{{url('/index')}}">首页</a> &gt;
                <a href="#">作品展示</a>

            </div>
            <ul class="por">
                @foreach($data as $key=>$item)
                <li>
                    <?php $model = json_decode($item->content); ?>
                    <a href="{{url('/pro/shows/'.$item->id)}}"><img src="{{asset('img/pro-'.$model->pic.'/262-393')}}"/></a>
                </li>

                @endforeach
            </ul>
            <div style="clear: both;"></div>
            
            @if ($data->hasPages())
                <div class="pagelist" style="text-align: center;">
                    {!! $data->appends($param)->render() !!}
                </div>
            @endif
        </div>
    </div>
</div>

@stop